.class public Lcom/nemustech/tiffany/world/TFSwingEffect;
.super Lcom/nemustech/tiffany/world/TFCustomPanel$Blender;
.source "TFSwingEffect.java"


# static fields
.field public static final DEFAULT_SWING_COUNT:I = 0x8

.field private static final DEFAULT_SWING_DISTANCE:F = 0.0f

.field public static final DEFAULT_SWING_POSITION:I = 0x2

.field public static final DEFAULT_SWING_START_DIRECTION:I = 0x1

.field public static final SWING_POSITION_ALL:I = 0x1

.field private static final SWING_POSITION_BODY:I = 0x4

.field public static final SWING_POSITION_HEAD:I = 0x2

.field public static final SWING_POSITION_TAIL:I = 0x3

.field public static final SWING_START_DIRECTION_RIGHT:I = 0x1

.field public static final SWINT_START_DIRECTION_LEFT:I = -0x1

.field private static final TAG:Ljava/lang/String; = "TFSwingEffect"


# instance fields
.field private final mCustomPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

.field protected mDuration:I

.field private mEffectStepCount:I

.field private mEffectStopCount:I

.field private mElapseWhenStopped:I

.field protected final mIdentity:[F

.field private mIsRunnig:Z

.field private final mMeshH:I

.field private final mMeshW:I

.field private mSwingCount:I

.field private mSwingDistance:F

.field private mSwingDistanceArr:[F

.field protected mSwingDuration:I

.field protected mSwingInterpolator:Landroid/view/animation/Interpolator;

.field private mSwingPosition:I

.field private mSwingRatio:[F

.field private mSwingRatioIdx:I

.field private mSwingStartDir:I

.field private mTime:Lcom/nemustech/tiffany/world/TFCustomPanel$Time;

.field private mVertex:[F


# direct methods
.method public constructor <init>(Lcom/nemustech/tiffany/world/TFCustomPanel;)V
    .locals 3
    .parameter "customPanel"

    .prologue
    const/4 v2, 0x1

    .line 50
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFCustomPanel$Blender;-><init>()V

    .line 51
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mCustomPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    .line 52
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mCustomPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getMeshWidth()I

    move-result v0

    iput v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    .line 53
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mCustomPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getMeshHeight()I

    move-result v0

    iput v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshH:I

    .line 54
    new-instance v0, Lcom/nemustech/tiffany/world/TFCustomPanel$Time;

    invoke-direct {v0}, Lcom/nemustech/tiffany/world/TFCustomPanel$Time;-><init>()V

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mTime:Lcom/nemustech/tiffany/world/TFCustomPanel$Time;

    .line 56
    iget v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshH:I

    add-int/lit8 v0, v0, 0x1

    new-array v0, v0, [F

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    .line 57
    iget v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshH:I

    add-int/lit8 v0, v0, 0x1

    iget v1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    add-int/lit8 v1, v1, 0x1

    mul-int/2addr v0, v1

    mul-int/lit8 v0, v0, 0x3

    new-array v0, v0, [F

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mIdentity:[F

    .line 59
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mCustomPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mIdentity:[F

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFCustomPanel;->loadIdentityVertex([F)V

    .line 60
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mCustomPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getVertex()[F

    move-result-object v0

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mVertex:[F

    .line 62
    const/4 v0, 0x2

    iput v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingPosition:I

    .line 63
    const/16 v0, 0x8

    iput v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingCount:I

    .line 64
    iput v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingStartDir:I

    .line 65
    const/4 v0, 0x0

    iput v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistance:F

    .line 67
    const/4 v0, 0x0

    iput v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStepCount:I

    .line 68
    const/4 v0, -0x1

    iput v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStopCount:I

    .line 69
    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mIsRunnig:Z

    .line 70
    return-void
.end method

.method private blend()V
    .locals 0

    .prologue
    .line 339
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFSwingEffect;->updateObject()V

    .line 340
    return-void
.end method

.method private dumpSwingDistance()V
    .locals 4

    .prologue
    .line 270
    const-string v1, "TFSwingEffect"

    const-string v2, "[DUMP OF THE SWING DISTANCE]--------------------------------------------"

    invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 271
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    array-length v1, v1

    if-ge v0, v1, :cond_0

    .line 272
    const-string v1, "TFSwingEffect"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "["

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "]="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    aget v3, v3, v0

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 271
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 275
    :cond_0
    return-void
.end method

.method private dumpSwingFactor()V
    .locals 4

    .prologue
    .line 263
    const-string v1, "TFSwingEffect"

    const-string v2, "[DUMP OF THE SWING RATIO]--------------------------------------------"

    invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 264
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    array-length v1, v1

    if-ge v0, v1, :cond_0

    .line 265
    const-string v1, "TFSwingEffect"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "["

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "]="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    aget v3, v3, v0

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 264
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 267
    :cond_0
    return-void
.end method

.method private dumpVertex()V
    .locals 9

    .prologue
    .line 278
    const-string v6, "TFSwingEffect"

    const-string v7, "[DUMP OF THE VERTEX]--------------------------------------------"

    invoke-static {v6, v7}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 279
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    iget v6, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshH:I

    if-gt v0, v6, :cond_1

    .line 280
    iget v6, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    add-int/lit8 v6, v6, 0x1

    mul-int/2addr v6, v0

    mul-int/lit8 v2, v6, 0x3

    .line 281
    .local v2, rowIndex:I
    const-string v6, "TFSwingEffect"

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "[i="

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, "]---"

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v6, v7}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 282
    const/4 v1, 0x0

    .local v1, j:I
    :goto_1
    iget v6, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    if-gt v1, v6, :cond_0

    .line 283
    move v3, v2

    .line 284
    .local v3, x:I
    add-int/lit8 v4, v2, 0x1

    .line 285
    .local v4, y:I
    add-int/lit8 v5, v2, 0x2

    .line 286
    .local v5, z:I
    const-string v6, "TFSwingEffect"

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "mVertex: ["

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, ", "

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, "] => "

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, "("

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, ","

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, ")"

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, "="

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, "("

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mVertex:[F

    aget v8, v8, v3

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, ", "

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mVertex:[F

    aget v8, v8, v4

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, ")"

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v6, v7}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 288
    add-int/lit8 v2, v2, 0x3

    .line 282
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    .line 279
    .end local v3           #x:I
    .end local v4           #y:I
    .end local v5           #z:I
    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto/16 :goto_0

    .line 291
    .end local v1           #j:I
    .end local v2           #rowIndex:I
    :cond_1
    return-void
.end method

.method private initAllSwingDistance()V
    .locals 4

    .prologue
    .line 188
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistance:F

    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    int-to-float v3, v3

    div-float v1, v2, v3

    .line 189
    .local v1, meshWidth:F
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshH:I

    if-gt v0, v2, :cond_0

    .line 190
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    div-int/lit8 v3, v3, 0x2

    int-to-float v3, v3

    mul-float/2addr v3, v1

    aput v3, v2, v0

    .line 189
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 192
    :cond_0
    return-void
.end method

.method private initAllSwingXAxisDistance()V
    .locals 4

    .prologue
    .line 165
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    iget v1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshH:I

    if-gt v0, v1, :cond_0

    .line 166
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mVertex:[F

    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    mul-int/lit8 v3, v3, 0x3

    div-int/lit8 v3, v3, 0x2

    aget v2, v2, v3

    aput v2, v1, v0

    .line 165
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 168
    :cond_0
    return-void
.end method

.method private initBodySwingDistance()V
    .locals 6

    .prologue
    const/4 v5, 0x0

    .line 216
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistance:F

    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    int-to-float v3, v3

    div-float v1, v2, v3

    .line 217
    .local v1, meshWidth:F
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    const/4 v3, 0x0

    aput v5, v2, v3

    .line 218
    const/4 v0, 0x1

    .local v0, i:I
    :goto_0
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    if-ge v0, v2, :cond_0

    .line 219
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    const/high16 v3, 0x3f80

    int-to-float v4, v0

    mul-float/2addr v4, v1

    sub-float/2addr v3, v4

    float-to-double v3, v3

    invoke-static {v3, v4}, Ljava/lang/Math;->sqrt(D)D

    move-result-wide v3

    double-to-float v3, v3

    aput v3, v2, v0

    .line 218
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 221
    :cond_0
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    aput v5, v2, v3

    .line 222
    return-void
.end method

.method private initBodySwingXAxisDistance()V
    .locals 6

    .prologue
    const/4 v5, 0x0

    .line 155
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    const/4 v3, 0x0

    aput v5, v2, v3

    .line 156
    const/4 v1, 0x0

    .line 157
    .local v1, rowIndex:I
    const/4 v0, 0x1

    .local v0, i:I
    :goto_0
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    if-ge v0, v2, :cond_0

    .line 158
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    const/high16 v3, 0x3f80

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mVertex:[F

    aget v4, v4, v1

    sub-float/2addr v3, v4

    float-to-double v3, v3

    invoke-static {v3, v4}, Ljava/lang/Math;->sqrt(D)D

    move-result-wide v3

    double-to-float v3, v3

    aput v3, v2, v0

    .line 159
    add-int/lit8 v1, v1, 0x3

    .line 157
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 161
    :cond_0
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    aput v5, v2, v3

    .line 162
    return-void
.end method

.method private initHeadSwingDistance()V
    .locals 6

    .prologue
    .line 195
    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistance:F

    iget v4, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    int-to-float v4, v4

    div-float v2, v3, v4

    .line 196
    .local v2, meshWidth:F
    const/4 v1, 0x0

    .line 197
    .local v1, j:I
    iget v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    .local v0, i:I
    :goto_0
    if-ltz v0, :cond_0

    .line 198
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    int-to-float v4, v1

    mul-float/2addr v4, v2

    int-to-float v5, v1

    mul-float/2addr v5, v2

    mul-float/2addr v4, v5

    aput v4, v3, v0

    .line 199
    add-int/lit8 v1, v1, 0x1

    .line 197
    add-int/lit8 v0, v0, -0x1

    goto :goto_0

    .line 201
    :cond_0
    return-void
.end method

.method private initHeadSwingXAxisDistance()V
    .locals 5

    .prologue
    .line 139
    const/4 v1, 0x0

    .line 140
    .local v1, rowIndex:I
    iget v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    .local v0, i:I
    :goto_0
    if-ltz v0, :cond_0

    .line 141
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mVertex:[F

    aget v3, v3, v1

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mVertex:[F

    aget v4, v4, v1

    mul-float/2addr v3, v4

    aput v3, v2, v0

    .line 142
    add-int/lit8 v1, v1, 0x3

    .line 140
    add-int/lit8 v0, v0, -0x1

    goto :goto_0

    .line 144
    :cond_0
    return-void
.end method

.method private initSwingDistance()V
    .locals 1

    .prologue
    .line 171
    iget v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingPosition:I

    packed-switch v0, :pswitch_data_0

    .line 185
    :goto_0
    return-void

    .line 173
    :pswitch_0
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFSwingEffect;->initAllSwingDistance()V

    goto :goto_0

    .line 176
    :pswitch_1
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFSwingEffect;->initHeadSwingDistance()V

    goto :goto_0

    .line 179
    :pswitch_2
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFSwingEffect;->initTailSwingDistance()V

    goto :goto_0

    .line 182
    :pswitch_3
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFSwingEffect;->initBodySwingDistance()V

    goto :goto_0

    .line 171
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method private initSwingRatio()V
    .locals 8

    .prologue
    const/4 v4, 0x0

    const/high16 v7, 0x4000

    const/high16 v6, -0x4080

    const/4 v5, 0x1

    .line 225
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStepCount:I

    if-lez v2, :cond_2

    .line 226
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingCount:I

    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStepCount:I

    add-int/lit8 v3, v3, 0x1

    mul-int/2addr v2, v3

    mul-int/lit8 v2, v2, 0x4

    new-array v2, v2, [F

    iput-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    .line 228
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingStartDir:I

    int-to-float v2, v2

    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStepCount:I

    add-int/lit8 v3, v3, 0x1

    int-to-float v3, v3

    div-float v1, v2, v3

    .line 230
    .local v1, stepUnit:F
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    aput v1, v2, v4

    .line 231
    const/4 v0, 0x1

    .local v0, i:I
    :goto_0
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingCount:I

    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStepCount:I

    add-int/lit8 v3, v3, 0x1

    mul-int/2addr v2, v3

    mul-int/lit8 v2, v2, 0x4

    if-ge v0, v2, :cond_4

    .line 233
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStepCount:I

    add-int/lit8 v2, v2, 0x1

    mul-int/lit8 v2, v2, 0x4

    rem-int v2, v0, v2

    if-nez v2, :cond_0

    .line 234
    div-float/2addr v1, v7

    .line 237
    :cond_0
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStepCount:I

    add-int/lit8 v2, v2, 0x1

    rem-int v2, v0, v2

    if-nez v2, :cond_1

    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStepCount:I

    add-int/lit8 v2, v2, 0x1

    mul-int/lit8 v2, v2, 0x2

    rem-int v2, v0, v2

    if-eqz v2, :cond_1

    .line 238
    mul-float/2addr v1, v6

    .line 240
    :cond_1
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    sub-int v4, v0, v5

    aget v3, v3, v4

    add-float/2addr v3, v1

    aput v3, v2, v0

    .line 231
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 244
    .end local v0           #i:I
    .end local v1           #stepUnit:F
    :cond_2
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingCount:I

    mul-int/lit8 v2, v2, 0x2

    add-int/lit8 v2, v2, 0x1

    new-array v2, v2, [F

    iput-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    .line 245
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingStartDir:I

    int-to-float v3, v3

    aput v3, v2, v4

    .line 246
    const/4 v0, 0x1

    .restart local v0       #i:I
    :goto_1
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingCount:I

    mul-int/lit8 v2, v2, 0x2

    if-ge v0, v2, :cond_4

    .line 247
    rem-int/lit8 v2, v0, 0x2

    if-nez v2, :cond_3

    .line 248
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    sub-int v4, v0, v5

    aget v3, v3, v4

    div-float/2addr v3, v7

    mul-float/2addr v3, v6

    aput v3, v2, v0

    .line 246
    :goto_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 250
    :cond_3
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    sub-int v4, v0, v5

    aget v3, v3, v4

    mul-float/2addr v3, v6

    aput v3, v2, v0

    goto :goto_2

    .line 254
    :cond_4
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    array-length v3, v3

    sub-int/2addr v3, v5

    const/4 v4, 0x0

    aput v4, v2, v3

    .line 255
    return-void
.end method

.method private initSwingXAxisDistance()V
    .locals 1

    .prologue
    .line 122
    iget v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingPosition:I

    packed-switch v0, :pswitch_data_0

    .line 136
    :goto_0
    return-void

    .line 124
    :pswitch_0
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFSwingEffect;->initAllSwingXAxisDistance()V

    goto :goto_0

    .line 127
    :pswitch_1
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFSwingEffect;->initHeadSwingXAxisDistance()V

    goto :goto_0

    .line 130
    :pswitch_2
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFSwingEffect;->initTailSwingXAxisDistance()V

    goto :goto_0

    .line 133
    :pswitch_3
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFSwingEffect;->initBodySwingXAxisDistance()V

    goto :goto_0

    .line 122
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method private initTailSwingDistance()V
    .locals 6

    .prologue
    .line 206
    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistance:F

    iget v4, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    int-to-float v4, v4

    div-float v2, v3, v4

    .line 207
    .local v2, meshWidth:F
    const/4 v1, 0x0

    .line 208
    .local v1, j:I
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    if-gt v0, v3, :cond_0

    .line 209
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    int-to-float v4, v1

    mul-float/2addr v4, v2

    int-to-float v5, v1

    mul-float/2addr v5, v2

    mul-float/2addr v4, v5

    aput v4, v3, v0

    .line 210
    add-int/lit8 v1, v1, 0x1

    .line 208
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 213
    :cond_0
    return-void
.end method

.method private initTailSwingXAxisDistance()V
    .locals 5

    .prologue
    .line 147
    const/4 v1, 0x0

    .line 148
    .local v1, rowIndex:I
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    if-gt v0, v2, :cond_0

    .line 149
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mVertex:[F

    aget v3, v3, v1

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mVertex:[F

    aget v4, v4, v1

    mul-float/2addr v3, v4

    aput v3, v2, v0

    .line 150
    add-int/lit8 v1, v1, 0x3

    .line 148
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 152
    :cond_0
    return-void
.end method

.method private setSwingInterpolator(Landroid/view/animation/Interpolator;)V
    .locals 0
    .parameter "interpolator"

    .prologue
    .line 258
    if-eqz p1, :cond_0

    .line 259
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingInterpolator:Landroid/view/animation/Interpolator;

    .line 260
    :cond_0
    return-void
.end method

.method private updateObject()V
    .locals 8

    .prologue
    .line 343
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    iget v4, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshH:I

    if-gt v0, v4, :cond_2

    .line 344
    iget v4, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    add-int/lit8 v4, v4, 0x1

    mul-int/2addr v4, v0

    mul-int/lit8 v2, v4, 0x3

    .line 345
    .local v2, rowIndex:I
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistanceArr:[F

    iget v5, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshH:I

    sub-int/2addr v5, v0

    aget v3, v4, v5

    .line 346
    .local v3, swingLength:F
    const/4 v1, 0x0

    .local v1, j:I
    :goto_1
    iget v4, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    if-gt v1, v4, :cond_1

    .line 347
    iget v4, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatioIdx:I

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    array-length v5, v5

    const/4 v6, 0x1

    sub-int/2addr v5, v6

    if-ne v4, v5, :cond_0

    .line 348
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mVertex:[F

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mIdentity:[F

    aget v5, v5, v2

    aput v5, v4, v2

    .line 352
    :goto_2
    add-int/lit8 v2, v2, 0x3

    .line 346
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    .line 350
    :cond_0
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mVertex:[F

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mIdentity:[F

    aget v5, v5, v2

    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    iget v7, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatioIdx:I

    aget v6, v6, v7

    mul-float/2addr v6, v3

    add-float/2addr v5, v6

    aput v5, v4, v2

    goto :goto_2

    .line 343
    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 355
    .end local v1           #j:I
    .end local v2           #rowIndex:I
    .end local v3           #swingLength:F
    :cond_2
    return-void
.end method


# virtual methods
.method public getPanel()Lcom/nemustech/tiffany/world/TFCustomPanel;
    .locals 1

    .prologue
    .line 96
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mCustomPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    return-object v0
.end method

.method public hasEnded()Z
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 313
    iget v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStopCount:I

    if-lez v0, :cond_0

    .line 314
    iget v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatioIdx:I

    iget v1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStopCount:I

    if-lt v0, v1, :cond_0

    .line 315
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    array-length v0, v0

    iput v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStopCount:I

    .line 316
    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mIsRunnig:Z

    .line 317
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mTime:Lcom/nemustech/tiffany/world/TFCustomPanel$Time;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFCustomPanel$Time;->getElapse()I

    move-result v0

    iput v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mElapseWhenStopped:I

    .line 320
    :cond_0
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatio:[F

    array-length v0, v0

    iget v1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatioIdx:I

    if-gt v0, v1, :cond_1

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    move v0, v2

    goto :goto_0
.end method

.method public onEnd()V
    .locals 0

    .prologue
    .line 325
    return-void
.end method

.method public onFrame(I)V
    .locals 1
    .parameter "tick"

    .prologue
    .line 329
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mTime:Lcom/nemustech/tiffany/world/TFCustomPanel$Time;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mTime:Lcom/nemustech/tiffany/world/TFCustomPanel$Time;

    invoke-virtual {v0, p1}, Lcom/nemustech/tiffany/world/TFCustomPanel$Time;->update(I)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mIsRunnig:Z

    if-nez v0, :cond_1

    .line 336
    :cond_0
    :goto_0
    return-void

    .line 333
    :cond_1
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFSwingEffect;->blend()V

    .line 334
    iget v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatioIdx:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatioIdx:I

    .line 335
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mCustomPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFCustomPanel;->requestUpdateVertex()V

    goto :goto_0
.end method

.method public onStart()V
    .locals 3

    .prologue
    .line 302
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mTime:Lcom/nemustech/tiffany/world/TFCustomPanel$Time;

    iget v1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mDuration:I

    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDuration:I

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFCustomPanel$Time;->start(II)V

    .line 303
    const/4 v0, 0x0

    iput v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingRatioIdx:I

    .line 304
    iget v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistance:F

    const/4 v1, 0x0

    cmpl-float v0, v0, v1

    if-nez v0, :cond_0

    .line 305
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFSwingEffect;->initSwingXAxisDistance()V

    .line 308
    :goto_0
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFSwingEffect;->initSwingRatio()V

    .line 309
    return-void

    .line 307
    :cond_0
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFSwingEffect;->initSwingDistance()V

    goto :goto_0
.end method

.method public resetEffect()V
    .locals 5

    .prologue
    .line 100
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshH:I

    if-gt v0, v3, :cond_1

    .line 101
    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    add-int/lit8 v3, v3, 0x1

    mul-int/2addr v3, v0

    mul-int/lit8 v2, v3, 0x3

    .line 102
    .local v2, rowIndex:I
    const/4 v1, 0x0

    .local v1, j:I
    :goto_1
    iget v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mMeshW:I

    if-gt v1, v3, :cond_0

    .line 103
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mVertex:[F

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mIdentity:[F

    aget v4, v4, v2

    aput v4, v3, v2

    .line 104
    add-int/lit8 v2, v2, 0x3

    .line 102
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    .line 100
    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 108
    .end local v1           #j:I
    .end local v2           #rowIndex:I
    :cond_1
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mCustomPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    invoke-virtual {v3}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v3

    if-eqz v3, :cond_2

    .line 109
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mCustomPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;

    invoke-virtual {v3}, Lcom/nemustech/tiffany/world/TFCustomPanel;->requestUpdateVertex()V

    .line 111
    :cond_2
    return-void
.end method

.method public resume()V
    .locals 3

    .prologue
    .line 294
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mTime:Lcom/nemustech/tiffany/world/TFCustomPanel$Time;

    .line 295
    new-instance v0, Lcom/nemustech/tiffany/world/TFCustomPanel$Time;

    invoke-direct {v0}, Lcom/nemustech/tiffany/world/TFCustomPanel$Time;-><init>()V

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mTime:Lcom/nemustech/tiffany/world/TFCustomPanel$Time;

    .line 296
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mTime:Lcom/nemustech/tiffany/world/TFCustomPanel$Time;

    iget v1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mDuration:I

    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mElapseWhenStopped:I

    sub-int/2addr v1, v2

    iget v2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDuration:I

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFCustomPanel$Time;->start(II)V

    .line 297
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mIsRunnig:Z

    .line 298
    return-void
.end method

.method public setEffectStepCount(I)V
    .locals 0
    .parameter "count"

    .prologue
    .line 80
    iput p1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStepCount:I

    .line 81
    return-void
.end method

.method public setEffectStopCount(I)V
    .locals 0
    .parameter "count"

    .prologue
    .line 84
    iput p1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mEffectStopCount:I

    .line 85
    return-void
.end method

.method public setSwingCount(I)V
    .locals 0
    .parameter "swingCount"

    .prologue
    .line 88
    iput p1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingCount:I

    .line 89
    return-void
.end method

.method public setSwingDistance(F)V
    .locals 0
    .parameter "swingDistance"

    .prologue
    .line 114
    iput p1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDistance:F

    .line 115
    return-void
.end method

.method public setSwingDuration(II)V
    .locals 1
    .parameter "duration"
    .parameter "swingDuration"

    .prologue
    .line 73
    if-lez p2, :cond_0

    if-lt p2, p1, :cond_1

    .line 74
    :cond_0
    mul-int/lit8 v0, p1, 0x3

    div-int/lit8 p2, v0, 0x4

    .line 75
    :cond_1
    iput p1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mDuration:I

    .line 76
    iput p2, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingDuration:I

    .line 77
    return-void
.end method

.method public setSwingPosition(I)V
    .locals 0
    .parameter "pos"

    .prologue
    .line 118
    iput p1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingPosition:I

    .line 119
    return-void
.end method

.method public setSwingStartDir(I)V
    .locals 0
    .parameter "swingStartDir"

    .prologue
    .line 92
    iput p1, p0, Lcom/nemustech/tiffany/world/TFSwingEffect;->mSwingStartDir:I

    .line 93
    return-void
.end method
